/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openjawtech.xscraper.scraper.filter;

import java.io.File;
import java.io.FileFilter;

/**
 *
 * @Created on 15-Apr-2009, 20:14:02
 * @author Wenbo.Sun
 */
public class JarFileFilter implements FileFilter{

    @Override
    public boolean accept(File file) {
        if(file.isDirectory())
            return false;
        String name = file.getName();
        return name.endsWith(".jar");
    }


}
